package com.easy.easylibdemo.ui.notification;

import android.os.Bundle;
import android.view.View;

import com.easy.easylibdemo.R;
import com.easylib.base.BaseActivity;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class NotificationActivity extends BaseActivity {


    @Override
    public int getContentViewId() {
        return R.layout.activity_notification;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {

    }

    @Override
    protected void initVariable() {

    }

    @Override
    protected void processLogic(Bundle savedInstanceState) {

    }

    @OnClick({R.id.button, R.id.button2, R.id.button3, R.id.button4})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.button:
                NewMessageNotification.notify(mContext,"exampleString11",1);
                break;
            case R.id.button2:
                NewPictureNotification.notify(mContext,"exampleString22",2);
                break;
            case R.id.button3:
                NewNoneNotification.notify(mContext,"exampleString33",3);
                break;
            case R.id.button4:
                NewMessageNotification.cancel(mContext);
                break;
        }
    }
}
